/**
 * 
 */
package org.cuatrovientos.loopsexercise5;

import java.util.Scanner;

/**
 * @version 1.0
 * @author carlos_ruiz
 *
 */
public class LoopsExercise5 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner reader = new Scanner (System.in);
		String line = "";
		int number = 0;
		byte cont =0;
		
		System.out.print("Enter a number ");
		line = reader.nextLine();
		
		number = Integer.parseInt(line);
		
		
		// Madurga's stylo
		/*for(int i = 0; i<(number*number) + number;i++) {
			
			if (cont == number) {
				cont=0;
				System.out.println("");
				
			} else {
				System.out.print("*");
				cont++;
			}
	
			
		}*/
		
		for (int i=0; i< number;i++) {
			for (int j=0;j< number; j++) {
				
				System.out.print("*");
			}
			System.out.print("\n");
		}
		
		
		
		
		
		reader.close();
	}

}
